﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Search" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <p>
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" 
            EnableScriptGlobalization="True">
        </asp:ToolkitScriptManager>
    </p>
<p>
    井号：<asp:TextBox ID="tb_jh" runat="server"></asp:TextBox>
    完工日期：从     
    <asp:TextBox ID="tb_begin_date" runat="server"></asp:TextBox>
    <asp:CalendarExtender ID="tb_begin_date_CalendarExtender" runat="server" 
        Enabled="True" TargetControlID="tb_begin_date">
    </asp:CalendarExtender>
    到<asp:TextBox ID="tb_end_date" runat="server"></asp:TextBox>
    <asp:CalendarExtender ID="tb_end_date_CalendarExtender" runat="server" 
        Enabled="True" TargetControlID="tb_end_date">
    </asp:CalendarExtender>
    <br />
    措施类别<asp:DropDownList ID="DropDownList1" runat="server">
        <asp:ListItem Value="12%">酸化</asp:ListItem>
        <asp:ListItem Value="11%">压裂</asp:ListItem>
        <asp:ListItem Value="13%">补孔</asp:ListItem>
        <asp:ListItem Value="1G%">大修</asp:ListItem>
        <asp:ListItem Value="15%">堵水</asp:ListItem>
        <asp:ListItem Value="1A%">换泵</asp:ListItem>
        <asp:ListItem Value="1J%">其他</asp:ListItem>
        <asp:ListItem Value="all">全部</asp:ListItem>
    </asp:DropDownList>
    <asp:Button ID="Button1" runat="server" Text="查询" onclick="Button1_Click" />
    <br />
    <asp:Label ID="lb_message" runat="server"></asp:Label>
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField DataField="jh" HeaderText="井号" />
            <asp:BoundField DataField="jb" HeaderText="井别" />
            <asp:BoundField DataField="cslb" HeaderText="措施类别" />
            <asp:BoundField DataField="kgrq" DataFormatString="{0:d}" HeaderText="开工日期" />
            <asp:BoundField DataField="wgrq" DataFormatString="{0:d}" HeaderText="完工日期" />
            <asp:BoundField DataField="csmc" HeaderText="措施名称" />
            <asp:BoundField DataField="sgfs" HeaderText="施工方式" />
            <asp:BoundField DataField="cscd" HeaderText="措施层段" />
            <asp:BoundField DataField="sgjdds1" HeaderText="施工层段顶深" />
            <asp:BoundField DataField="sgjdds2" HeaderText="施工层段低深" />
            <asp:BoundField DataField="cwsyhd" HeaderText="层位砂岩厚度" />
            <asp:BoundField DataField="cwyxhd" HeaderText="层位有效厚度" />
            <asp:BoundField DataField="shbj" HeaderText="酸化半径" />
            <asp:BoundField DataField="shbj1" HeaderText="酸化半径1" />
            <asp:BoundField DataField="hqbj" HeaderText="换前泵径" />
            <asp:BoundField DataField="hhbj" HeaderText="换后泵径" />
            <asp:BoundField DataField="ch" HeaderText="裂缝序号" />
            <asp:BoundField DataField="ylrq" HeaderText="压裂日期" />
            <asp:BoundField DataField="ylcs" HeaderText="压裂层数" />
            <asp:BoundField DataField="plyl" HeaderText="破裂压力" />
            <asp:BoundField DataField="hsb" HeaderText="换砂比" />
            <asp:BoundField DataField="jsl" HeaderText="加砂量" />
            <asp:BoundField DataField="yssgcw" HeaderText="原始施工层位" />
            <asp:BoundField DataField="bz" HeaderText="备注" />
        </Columns>
    </asp:GridView>
</p>
</asp:Content>

